package com.wzxy.pf.budget.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wzxy.pf.budget.entity.Budget;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhl
 * @since 2023-04-01
 */
@Mapper
public interface BudgetMapper extends BaseMapper<Budget> {
    IPage<Budget>findByuid(IPage<Budget> page, @Param("uId") Integer uId);
    int update(Budget budget);
    List<Budget> search(String time);
}
